$(function(){
  var pwd  = $("#pwd"),
      word = $(".pwd-text"),
      eye  = $("#eye");
  pwd.on("input",function(){
    word.val(pwd.val())   
  }),

  eye.mouseover(function(){
    word.css("z-index","10")    
  }),

  eye.mouseout(function(){  
   word.css("z-index","-10")  
  })
});
